<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./css/reset.css">
  <style>
    .item {
      box-sizing: border-box;
      width: 287px;
      margin: 0 auto;
      padding: 10px;
    }

    .item img {
      width: 100%;
      border-radius: 5px;
    }

    .item .desc {
      margin-top: 10px;
    }

    .item .desc p {
      font-size: 15px;
      color: #333;

      /* white-space: nowrap; */
      overflow: hidden;
      text-overflow: ellipsis;

      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .item .anchor {
      font-size: 13px;
      color: #999;
      margin-top: 10px;
    }

    .item .anchor::before{
      content: url(../images/widget-up.svg);
      display: inline-block;
      width: 16px;
      height: 16px;
      position: relative;
      top: 1px;
    }
  </style>
</head>

<body>
  <div class="item">
    <div>
      <a href="">
        <img
          src="https://i0.hdslb.com/bfs/archive/318b919501621adaa9358ca876ab148c9537a128.jpg@672w_378h_1c_!web-home-common-cover"
          referrerpolicy="no-referrer" alt="">
      </a>
    </div>
    <div class="desc">
      <a href="">
        <p>必胜客29元冰激凌自助，一次只能一个球？折腾员工，折磨顾客必胜客29元冰激凌自助，一次只能一个球？折腾员工，折磨顾客</p>
      </a>
    </div>
    <div class="anchor">
      <a href="">
        <span class="author">程飞以下</span>
        <span class="date">15小时之前</span>
      </a>
    </div>
  </div>
</body>

</html>